package com.neo.users.UserInfoA.pojo;

import java.util.List;

/**
 *
 * @Author: chenb
 * @CreateTime: 2024/8/29 19:39
 * @Description: 自定义类包装查询结果
 */
public class Result<T> {
  private boolean success;
  private T data;
  private List list ;

  public Result(boolean success, T data) {
    this.success = success;
    this.data = data;
  }


  // Getters and Setters
  public boolean isSuccess() {
    return success;
  }

  public void setSuccess(boolean success) {
    this.success = success;
  }

  public T getData() {
    return data;
  }

  public void setData(T data) {
    this.data = data;
  }
}
